import {
  createApp
} from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css' // 引入 CSS 样式
import 'vant/lib/index.css'; //引入vant样式
import router from './router/index.js';
import {
  createPinia
} from 'pinia' //导入pinia
import {
  Overlay
} from 'vant' //引入vant
import zhCn from 'element-plus/es/locale/lang/zh-cn'; // 导入中文语言包


const app = createApp(App)
app.use(ElementPlus, {
  size: 'small',
  zIndex: 3000,
  locale: zhCn
})
app.use(router)
app.use(Overlay)
app.use(createPinia)
app.mount('#app')